#ifndef TIME_H_
#define TIME_H_
#include <iostream>

class Time
{
private:
    int hours;
    int minutes;
public:
    Time();
    Time(int h, int m=0);
    void AddMin(int m);
    void AddHr(int h);
    void Reset(int h=0, int m=0);
    // Time operator+(const Time & t) const;
    Time operator +(Time &t);
    Time operator -(Time &t);
    Time operator *(double n);
    friend Time operator *(double m, Time &t) {return t*m;}
    friend std::ostream &operator <<(std::ostream &os, Time &t);
};

#endif